package com.qianying.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qianying.entity.CustomRegionConnect;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface CustomRegionConnectMapper extends BaseMapper<CustomRegionConnect> {

    @Select("SELECT *  FROM custom_region_connect WHERE customer_id = #{customerId}")
    List<CustomRegionConnect> getByCustomerId(@Param("customerId") Long customerId);
}